package preserve.extract;


public class HeatingPlan {

    private TempRange tempRange;

    @After
    public Boolean withinRange(int low, int high) {
        return low >= tempRange.getLow() && high <= tempRange.getHigh();
    }

    @Before
    public Boolean withinRange(TempRange roomRange) {
        return roomRange.getLow() >= tempRange.getLow() && roomRange.getHigh() <= tempRange.getHigh();
    }
}
